package org.absolutezero.shared;

import java.util.List;

import org.absolutezero.model.Recipe;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;


@ProxyFor(Recipe.class)
public interface RecipeProxy extends EntityProxy {
	
	public List<RecipeIngredientProxy> getIngredients();
    
    public void setIngredients(List<RecipeIngredientProxy> ingredients);
    
    public Long getId() ;

	public void setId(Long id) ;

	public String getName() ;

	public void setName(String name);

	public Integer getDuration();

	public void setDuration(Integer duration);

	public UserProxy getAuthor() ;

	public void setAuthor(UserProxy author);
	
	public Integer getConsumersNum();

	public void setConsumersNum(Integer consumersNum);

	public String getText();

	public void setText(String text) ;
}
